-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Fix AMH solution tool ServerMigration_DataReplication #28665
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Fix AMH solution tool ServerMigration_DataReplication #28665
Conversation
Thanks for your contribution! The pull request validation has started. Please revisit this comment for updated status. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR fixes AMH (Azure Migrate Hub) solution tool configuration issues by ensuring the correct tool name "ServerMigration_DataReplication" is consistently passed to Azure Migrate API calls. This addresses replication count missing and UX bifurcation experience issues in the Azure Migrate portal.
- Updated ChangeLog.md to document the bug fix for
Initialize-AzMigrateLocalReplicationInfrastructure
- Modified the PowerShell function to consistently use the correct tool name "ServerMigration_DataReplication" in all
Set-AzMigrateSolution
calls - Added code formatting improvements with proper brace placement following PowerShell conventions
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.
File | Description |
---|---|
src/Migrate/Migrate/ChangeLog.md | Added changelog entry documenting the bug fix for AMH solution tool name correction |
src/Migrate/Migrate.Autorest/custom/Initialize-AzMigrateLocalReplicationInfrastructure.ps1 | Updated all Set-AzMigrateSolution calls to use correct tool name and improved code formatting |
src/Migrate/Migrate.Autorest/custom/Initialize-AzMigrateLocalReplicationInfrastructure.ps1
Outdated
Show resolved
Hide resolved
src/Migrate/Migrate.Autorest/custom/Initialize-AzMigrateLocalReplicationInfrastructure.ps1
Outdated
Show resolved
Hide resolved
/azp run |
Azure Pipelines successfully started running 3 pipeline(s). |
|
Validation in dev test pipeline in progress. Will update in a few hours. |
/azp run |
Azure Pipelines successfully started running 3 pipeline(s). |
Dev test run passed: https://dev.azure.com/msazure/One/_build/results?buildId=139892459&view=results ![]() |
Description
Mandatory Checklist
Please choose the target release of Azure PowerShell. (⚠️ Target release is a different concept from API readiness. Please click below links for details.)
Check this box to confirm: I have read the Submitting Changes section of
CONTRIBUTING.md
and reviewed the following information:ChangeLog.md
file(s) appropriatelysrc/{{SERVICE}}/{{SERVICE}}/ChangeLog.md
.## Upcoming Release
header in the past tense.ChangeLog.md
if no new release is required, such as fixing test case only.